package Day02;

public class Demo12 {
    public static void main(String[] args) {
        //打印九九乘法表
        System.out.println("九九乘法表：");//乘法表的原理与图形打印差不多
        for (int i = 1; i < 10; i++) {
            System.out.println();
            for (int j = 1; j < i + 1; j++) {
                int sum = i*j;
                System.out.print(j + "*" + i + "=" + sum);
                System.out.print(" ");
            }
        }
    }
}
